package com.example.love_margin.Service;


import com.example.love_margin.Entity.Pet;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface PetService {
    Object addPet(Pet pet);
    Object deletePet(int pet_id);
    Object delPets(Integer[] userIds);

    Object updateOnePet(Pet pet);

    Object selectOnePet(int pet_id);
    Object selectAll(int pet_id);
    Object selectAllTen();
    Object selectXAll(int pet_id,int num);
    Object selectManyKey(String pet_category,String pet_varieties,String pet_sex);
    Object selectManyKeyAdmin(String pet_category,String pet_varieties,String pet_sex,String key);
    //分页
    List<Pet> selectManyPage(String pet_category, String pet_varieties, String pet_sex, String key, Integer pageNum, Integer pageSize);

}
